class RuleServiceImpl implements RuleService {

	@Override
	public Page<Rule> getRules(final String searchTerm, final int page, final int size) {
		return ruleRepository.findAll(searchTerm.toLowerCase(), PageRequest.of(page, size));
	}

}