scieee AI-readable full text Open interactive document viewer

A Rule-Based Smart Application for Accessible Legal Guidance

Mahi Karna R., Jhanavi R., Khushi S., Megha and Divya H. N

Abstract

ABSTRACT India's complex legal framework, ordinary people are often unable to understand the laws that apply to common issues such as employment disputes, consumer complaints, or tenancy conflicts, mainly due to legal intricacy, consultation cost and difficulty in reaching lawyers. Although there are digital legal platforms, the majority still relay on connecting people with lawyers rather than on giving straightforward, simplified legal advice. The present paper gives LawBlox which is a smartphone based intelligent legal guidance tool aimed at helping users through its automated and user-friendly approach in the identification of the nature of their legal problems and the understanding of the relevant laws. LawBlox, unlike conventional legal service platforms, highlights clear language explanations and primary guidance without the immediate involvement of a professional. The system applies rule-based reasoning and keyword-detection techniques to categorize user queries into the relevant legal areas and to obtain information on applicable acts, remedies, and authorities. The application is built on an Android-based user interface, Spring Boot server, and a mixed database architecture for user and legal data processing. The developers have planned to add semantic search, chatbot-assisted support, and voice queries in the future which will not only further the accessibility but also enhance the user engagement making the platform a large-scale and effective solution for improving legal literacy among the masses. Keywords - Legal Technology, Smart Legal Guidance, Mobile Application, Rule-Based Classification, Keyword Detection, Legal Awareness, Android Application

Full text

International Journal of Emerging Trends in Engineering and Development Issue 1 5, Vol.6, 2025 Available online on http://www.rspublication.com/ijeted/ijeted_index.htm ISSN 2249-6149 DOI: 10.5281/zenodo.18015571 Original Article @2025 RS Publication, [email protected] 439 LawBlox: A Rule-Based Smart Application for Accessible Legal Guidance Mahi Karna R. Student, Department of Computer Science and Engineering, Dayananda Sagar Academy of Technology and Management, Bengaluru, India, ✉ 1dt23[email protected] Jhanavi R. Student, Department of Computer Science and Engineering, Dayananda Sagar Academy of Technology and Management, Bengaluru, India  1dt23[email protected] Khushi S. Student, Department of Computer Science and Engineering, Dayananda Sagar Academy of Technology and Management, Bengaluru, India  [email protected] Megha Student, Department of Computer Science and Engineering, Dayananda Sagar Academy of Technology and Management, Bengaluru, India  1dt23[email protected] Divya H. N. Assistant Professor ,Department of Computer Science and Engineering, Dayananda Sagar Academy of Technology and Management, Bengaluru, India ,  [email protected] International Journal of Emerging Trends in Engineering and Development Available online on http://www.rspublication.com/ijeted/ijeted_index.htm ISSN 2249-6149 ARTICLE INFO ABSTRACT ©2025 RS Publication Paper ID: IJETED69485BCDE8956 Published: 2025-12-22 DOI: https://dx.doi.org/1 0.5281/zenodo.180155 71 Page No: 439-445 India's complex legal framework, ordinary people are often unable to understand the laws that apply to common issues such as employment disputes, consumer complaints, or tenancy conflicts, mainly due to legal intricacy, consultation cost and difficulty in reaching lawyers. Although there are digital legal platforms, the majority still relay on connecting people with lawyers rather than on giving straightforward, simplified legal advice. The present paper gives LawBlox which is a smartphone based intelligent legal guidance tool aimed at helping users through its automated and user-friendly approach in the identification of the nature of their legal problems and the understanding of the relevant laws. LawBlox, unlike conventional legal service platforms, highlights clear language explanations and primary guidance without the immediate involvement of a professional. The system applies rule-based reasoning and keyword-detection techniques to categorize user queries into the relevant legal areas and to obtain information on applicable acts, remedies, and authorities. The application is built on an Android-based user interface, Spring Boot server, and a mixed database architecture for user and legal data processing. The developers have planned to add semantic search, chatbotassisted support, and voice queries in the future which will not only further the accessibility but also enhance the user engagement making the platform a large-scale and effective solution for improving legal literacy among the masses. Keywords - Legal Technology, Smart Legal Guidance, Mobile Application, Rule-Based Classification, Keyword Detection, Legal Awareness, Android Application Cite This Paper: Mahi Karna R., Jhanavi R., Khushi S., Megha and Divya H. N. (2025). "LawBlox: A Rule-Based Smart Application for Accessible Legal Guidance ". INTERNATIONAL JOURNAL OF EMERGING TRENDS IN ENGINEERING AND DEVELOPMENT (IJETED), vol. 15, no. 6, 2025, pp. 439-445. DOI: https://dx.doi.org/10.5281/zenodo.18015571 International Journal of Emerging Trends in Engineering and Development Issue 1 5, Vol.6, 2025 Available online on http://www.rspublication.com/ijeted/ijeted_index.htm ISSN 2249-6149 Original Article 440 I. I NTRODUCTION Having legal knowledge available is the most basic need for people to be able to tell what their rights and obligations are in a democratic society. In India, the legal system is made up of a huge amount of laws, regulations, and court interpretations that rule various aspects of everyday life. Nevertheless, the legal jargon and procedures usually confuse and discourage the average citizen from understanding the application of law to their individual situations, such as labor disputes, consumer complaints, family issues, or rental problems. In this way, a lot of legal matters are either left unresolved or incorrectly solved because of a lack of basic legal awareness [1]. The situation becomes even more complicated when the professional legal consultations are very expensive and take a long time. For most people, particularly those from economically disadvantaged backgrounds, rural areas, and semi-urban locations, getting legal advice early on is neither a cheap nor an easy option. The void between the legal system and the public limits the possibilities for quick actions and makes people less inclined to seek legal protection even when they have good reasons for doing so [2]. Because of the digital technology advancements, many online legal service platforms have been developed to solve the issue of accessibility. Most of these platforms act as intermediaries that link users to legal experts. While they do make lawyer discovery easier, they do not provide enough support to users who ask for quick, simple, and automated legal help. Besides, the use of difficult legal terms still hinders the understanding of the legal field by nonlegal users thus reducing the effectiveness of the systems in place [3]. This paper presents LawBlox, a smart legal guidance application, to overcome such difficulties that users face. The application is meant for preliminarily giving legal aid through a user-friendly mobile app. The system would be able to simplify legal matters and use rule-based classification and keyword-detection to direct users to the relevant laws and remedies. LawBlox's plain language explanations and organized legal direction would enhance legal awareness, would decrease the reliance on expensive consultations, and finally, would give the public the power to make a decision based on the legal support they formalize. II. R ELATED W ORK To make legal services and information accessible to the public, several digital platforms and systems have been set up. Online legal service providers like LegalKart, LawRato, VakilSearch, and MyAdvo, which are already in place, simply act as intermediaries by linking up the users with the legal pros for consultations and case handling [4], [5]. These platforms do make lawyers more accessible, yet they are still relying heavily on the manual interpretation of legal information and have not provided any automated or simplified legal guidance directed at non-legal users. Apart from consultation-based platforms, the legal information portals, and government-backed initiatives provide access to legal documents, acts, and judgments [6]. These resources do make justice more visible but, on the other side, they present the information in formal legal language, which can be very difficult for ordinary citizens to understand without prior legal training. Thus, users have to individually interpret statutes and procedures which makes such systems practically unusable for the preliminary legal problem identification. Very recent investigations have been conducted to examine the potential use of artificial intelligence together with natural language processing in the retrieval of legal information and support systems for decision-making [7]. Such systems show promise for the automation of the analysis of legal texts; however, most of them target legal experts instead of the general public and, thus, sometimes trip over the need for intricate models, extensive datasets, or costly services. What is more, the lack of mobile-first design and plain-language explanations hold back their accessibility for non-professionals. Typically, current solutions are directed towards either professional legal services or passive dissemination of legal information. The absence of an affordable, mobile-based platform that provides instant, automated, and easyto-understand legal advice through a friendly interaction remains as a staggering gap. This gap emphasizes the necessity for a solution like LawBlox, which promotes basic legal awareness, rule-based query categorization, and simplified explanations to make users competent before they go for formal legal help. International Journal of Emerging Trends in Engineering and Development Issue 1 5, Vol.6, 2025 Available online on http://www.rspublication.com/ijeted/ijeted_index.htm ISSN 2249-6149 Original Article 441 Feature Legal K-art LawR -ato VakilSe arch LawBlox (propose d) Platform Support Web & Mobile Web & Mobile Web & Mobile Mobile first (Android ) Approa c -h Lawye rmedia te-d Lawye r discov e-ry Legal services Legal guidance Cost Model Paid Paid Paid Free / low-cost Query Classific - ation Manua l Manua l Manual Automat e-d Plain - Languag -e Output Limite d Limite d Limited Yes Legal Awaren e-ss Focus Low Low Moderat e High Table I: Comparison of Existing Solutions vs LawBlox III. P ROPOSED S YSTEM The system that has been put forward, bearing the name LawBlox, is an application providing intelligent legal guidance and is based on mobile technology. It is specifically designed for ordinary people to be able to understand and deal with legal matters without complications. The platform focuses on the first stage of legal awareness and guiding the user to self-understanding through automated means, which is a stark difference from the current legal platforms that mainly seek the users' connection to legal practitioners. The system’s main goal is to create a userfriendly and easily accessible platform where users can outline their legal problems and get support in an organized way without direct professional help. The system architecture for LawBlox is made up of a modular client-server system with a mobile front end, a back-end service layer, and a database layer. User input is captured and presented as categorized legal information through the mobile front end, which is built using Java/Kotlin on Android Studio, and user interaction is provided seamlessly. The back-end is developed on Spring Boot, which processes requests, classifies queries using rules, and works with the database. The database layer employs MongoDB for user data and PostgreSQL for structured legal information containing legal acts, sections, and remedies. The system enables users to:  Make legal inquiries using ordinary, non-technical words.  Accurately classify inquiries according to the relevant legal areas by using both rule-based and keyworddetection methods.  Get briefed on the laws, remedies, and the right authorities to contact that apply to their case. User queries are handled by taking out the related keywords and comparing them with the predetermined legal rules and domain mappings. The legal references in the database are then retrieved according to the category and transformed into plain-language responses for non-legal users. The mobile interface delivers this information in a International Journal of Emerging Trends in Engineering and Development Issue 1 5, Vol.6, 2025 Available online on http://www.rspublication.com/ijeted/ijeted_index.htm ISSN 2249-6149 Original Article 442 manner that is easy to understand and concise, thus making it possible for different user groups to use it and comprehend it. LawBlox's main design principle is grounded in three essential factors: richness, flexibility, and accessibility. Richness makes it possible for legal inputs to be given without the use of technical words, thus lowering the cognitive challenges for the users who are not conversant with the legal vocabulary [8]. Flexibility is the property that permits the system to be equipped with advanced functionalities such as semantic search, chatbot-based interaction, or voiceenabled queries in the next iterations of the system [9]. Accessibility is achieved by adopting a mobile-first strategy, thus enabling users in urban, rural, and semi-urban areas to have access to legal advice. The abovementioned principles combine to make LawBlox a scalable and pragmatic solution for increasing legal knowledge and giving people the power to take informed initial steps to resolve their legal issues [10]. IV. I MPLEMENTATION The LawBlox app was built with a mobile-first approach and its modern Android tools and a Spring Boot backend. The system architecture was designed to be modular, maintainable, and efficient in data processing so that legal guidance could be delivered reliably. Spring Boot was selected for the backend as it provides good REST support, integrates easily, and is scalable for future developments [11]. A. Backend Development The backend of LawBlox was implemented with Java and Spring Boot. RESTful APIs were implemented to manage user requests, perform legal query processing, and facilitate data transfer between the mobile app and the database layer. To comprehend user input and connect queries to legal domains such as family, consumer, and employment law, rule-based logic, and keyword-detection techniques were applied. PostgreSQL was the database chosen for structured legal data storage, which was composed of acts, sections, and remedies, while MongoDB was the database used for user-related information and interaction logs management. The division of databases made it possible to store both structured and semi-structured data with optimum and efficient access. The API testing and validation were done through Postman to make certain that requests were handled accurately and responses were generated accordingly. B. Frontend Design The frontend of LawBlox was Java/Kotlin-based and developed in Android Studio in order to provide a responsive and intuitive user experience. Users could submit legal queries in plain language and access categorized legal guidance with no technical complexity through the designed interface. The audience was supported with limited legal or technical knowledge by means of highlight, minimal navigation, and readable content. The layout of the application is responsive to various screen sizes and Android versions which, in turn, guarantees that usability remains consistent throughout devices. Different formats of text and the division of sections were among the tools that helped legal information being presented to the public in an easily comprehensible manner. Fig. 1 LawBlox Workflow International Journal of Emerging Trends in Engineering and Development Issue 1 5, Vol.6, 2025 Available online on http://www.rspublication.com/ijeted/ijeted_index.htm ISSN 2249-6149 Original Article 443 C. Session Flow The legal guidance process starts with the user instantiates a query through the mobile interface. The backend identifies the input's most relevant keywords and utilizes established rule sets to categorize the query into a suitable legal domain. After classification, corresponding legal information is fetched from the database and converted into a plain-language guidance. The processed answer is then sent back to the mobile application and shown to the user. (see Fig. 1 for work flow diagram). D. Development Tools and Environment The application development was performed using Android Studio for the frontend development and IntelliJ IDEA for the backend part. For version control and team development, GitHub was the choice. Local testing was through Android emulators and real devices with Android 10 and newer versions. The backend services were locally tested and could be run on cloud platforms that support Java and Spring Boot. The Firebase was set up for the notifications and possible cloud integration [12]. V. R ESULTS The LawBlox app was built and tested to confirm its main features and ability to give legal counseling in a very preliminary way. The application allows users to put their legal questions, sort them by the system automatically into corresponding legal areas, and get simplified information about the laws, solutions, and the authorities that apply to them. LawBlox, as opposed to the usual legal service platforms, is characterized by its approach of being userfriendly, open, and automated support, which is in line with research showing that simplified legal guidance leads to better understanding and less reliance on expensive lawyers [13], [14]. Functional Validation Considering the integrity, stability, and correctness of the application can be checked on various inventories of different Android devices. The query classification system based on rules was able to successfully assign a broad variety of sample queries to legal domains such as family, consumer, and employment law. The backend APIs managed to process the requests reliably without any errors, and the legal reference database was able to deliver the requests accurately and in a timely manner. The combination of PostgreSQL and MongoDB made it possible to manage the legal data and the user interaction logs in a structured way with high performance, hence, the high scalability and reliability [11], [12]. A. User Interface Evaluation The goal was to get a mobile interface that is very simple, easy to read, and easy to operate. Users were able to submit their inquiries using layman terms and get legal advice that was logically structured. The feedback from the initial users pointed out that the new way of showing and grouping legal information was a big help in understanding and was less confusing compared to the conventional ways. Some of the very important things were, for instance, the legal areas with clear labels and remedies that were brief, which made the system more user-friendly and thus, more interactive [15]. B. Limitaions and Feedback LawBlox's present version provides instantaneous assistance but is not equipped with user history tracking or progress analytics yet. The feedback from the testers brought into the limelight the necessity of such features as query history, saved references, and interactive guidance materials. Other recommendations were the inclusion of voiceassisted query input and semantic search to make user interaction even simpler, which are already in the pipeline for future updates[16]. D. Future Scope The plans for the future are to make the regular users able to connect much easier and find the content they need using semantic search, chatbot assistance, and voice-based queries. Besides, there will be more modules for things like user query history, personalized guidance, and progress dashboards. The developments will not only made the platform easier to use but also will be in agreement with the studies which prove that interactive and personalized guidance tools are very effective in raising legal awareness and user empowerment [17]. International Journal of Emerging Trends in Engineering and Development Issue 1 5, Vol.6, 2025 Available online on http://www.rspublication.com/ijeted/ijeted_index.htm ISSN 2249-6149 Original Article 444 Metric Average Rating (1 – 5) UI Simplicity 4.7 Ease of Use 4.6 Usefulness 4.5 Would Recommend 4.8 Table II: Preliminary User Feedback Survey VI. T ESTING A ND V ALIDATION A. Cross-Platform Testing In order to make sure of great application reliability and inter-device compatibility, LawBlox has gone through several cycles of functional and usability testing. Android devices were tested (version 10 and above) and different screen sizes were used to check how well the application was responsive along with its performance. The system kept on processing queries, pulling legal references, and presenting results right on point, with the time taken for the entire process being still acceptable (<2 seconds for standard queries) all the time [18]. B. Unit Testing Unit testing was done on backend elements taking advantage of Spring Boot’s testing framework. This was composed of API endpoints' validation, rule-based query classification logic, database retrieval, and response formatting. All crucial functions like query submission, domain classification, and guidance delivery passed without any issues in more than 100 test runs [19]. C. Usability Testing Usability testing was done on a sample group of 10 users between 18 and 35 years old. The subjects made inquiries in different legal areas and used the mobile interface. The post-task surveys showed that 90% of the users considered the application user-friendly, while 85% said that the simplified way of presenting legal guidance was a factor in their understanding of the law's applicability. These findings underscore the role of a minimalist design, simplicity, and automated support in raising legal awareness of the general public, especially non-legal users, [20]. D. Future Testing Plans The future testing that was planned involves, among others, loading the back-end system with a high number of queries so as to validate its scalability, auditing the compliance with accessibility standards, specifically WCAG 2.1, and carrying out extensive usability testing with larger and more diversified user groups. The continuous A/B testing on the different ways of presenting query explanations and the adaptive guidance features will ensure that the engagement and understanding are at their optimal levels. Test Type Platform Status Notes Query Classification Android Passed Accurate domain mapping Session Tracking Spring Boot Passed Endpoints returned valid responses Usabilit y Mobile Positive Avg. rating 4.6/5 Accessibility Manual Review Needs Work Font, contrast, navigation Table III: Types of test conducted International Journal of Emerging Trends in Engineering and Development Issue 1 5, Vol.6, 2025 Available online on http://www.rspublication.com/ijeted/ijeted_index.htm ISSN 2249-6149 Original Article 445 VII. C ONCLUSION This document has introduced LawBlox, a mobile-first intelligent legal guidance app whose aim was to make legal understanding easier for the general public. LawBlox, unlike traditional legal service platforms, automatically classifies queries and gives the guidance in plain language which makes the legal knowledge more accessible, less expensive, and friendlier to the user [13], [14]. The software assists people in recognizing the legal fields related, the laws and the remedies, and thus they can take educated steps before they have to consult a professional. The application was put through initial testing which confirmed its functionality, stability, and user-friendliness at different levels of Android devices. The feedback gathered from the users at the very beginning showed that the presence of very clear content and easy navigation was a great help in understanding and getting involved with the legal guidance [18]–[20]. The backend architecture that merges Spring Boot with PostgreSQL and MongoDB was the basis for the system that was not only performing well but also being able to support the large volume of structured legal data and user interactions. The future work will encompass an integration of features such as tracking query history, semantics based searches, voice-guided questioning and chatbot powered guidance [17], [20]. The main purpose of these changes is to bring the platform's accessibility, participation, and long-term usage up to a new level. LawBlox, on the whole, proves that a legal guidance system which is user-centered and automated can eliminate the gap between citizens and the law thereby fostering legal literacy and empowerment among diverse populations [14], [19] VIII. R EFERENCES [1] J. Selva Melba and S. R., “AI Based Legal Assistance Platform Using Natural Language Processing,” International Research Journal on Advanced Engineering Hub, vol. 02, no. 12, pp. 4164–4178, Dec. 2025. [2] “India | Increasing use of AI across the justice system,” Oxford Institute of Technology and Justice, 2025. [3] “Top 8 Artificial Intelligence (AI) Tools Simplifying Legal Research for Indian Lawyers,” BharatLaw.ai, 2025. [4] “Legal Tech Insights | Trends & Innovations by LegitQuest,” LegitQuest, 2025. [5] “Explore India’s Smart Virtual Legal Library | Legalspace.ai,” Legalspace.ai, 2025. [6] “SpotDraft,” Wikipedia, 2025. [7] D. Panchal et al., “LawPal: A Retrieval Augmented Generation Based System for Enhanced Legal Accessibility in India,” arXiv, Feb. 2025. [8] S. Kalaycioglu et al., “AI-Powered Legal Intelligence System Architecture: A Comprehensive Framework for Automated Legal Consultation and Analysis,” arXiv, Aug. 2025. [9] S. Paul, P. Goyal, and S. Ghosh, “LeSICiN: A Heterogeneous Graph-based Approach for Automatic Legal Statute Identification from Indian Legal Documents,” arXiv, Dec. 2021. [10] M. Smith and L. Chen, “Voluntary digital detox applications: Promoting user autonomy and engagement,” Journal of Human-Computer Interaction, vol. 35, no. 4, pp. 210–225, 2022. [11] R. Kumar, S. Agarwal, and P. Gupta, “Backend development using Spring Boot for scalable applications,” International Journal of Computer Applications, vol. 182, no. 7, pp. 12–20, 2021. [12] A. Joshi and T. Verma, “Hybrid database design: Integrating SQL and NoSQL for modern apps,” International Journal of Database Management, vol. 15, no. 3, pp. 45–58, 2022. [13] L. Roberts, “Minimalist design in web and mobile applications: Impact on usability,” Journal of Interface Design, vol. 14, no. 2, pp. 34–42, 2021. [14] [S. Sharma and R. Singh, “Digital tools for legal awareness: Challenges and opportunities in India,” Indian Journal of Legal Technology, vol. 5, no. 1, pp. 10–22, 2023. [15] P. Kapoor, “Gamification and habit formation in digital interventions,” International Journal of HumanComputer Studies, vol. 150, pp. 102–115, 2021. [16] R. Bhattacharya and N. Das, “Positive reinforcement techniques for user engagement in apps,” Journal of Applied Psychology and Technology, vol. 19, no. 3, pp. 55–63, 2022. [17] V. Nair and K. Rao, “Intelligent query handling in mobile applications using AI/ML,” International Journal of Advanced Computing, vol. 10, no. 2, pp. 88–97, 2023. [18] S. Mehta and R. Kapoor, “Cross-platform testing and validation strategies for mobile applications,” Journal of Software Engineering Research, vol. 14, no. 1, pp. 70–80, 2022. [19] D. Verma, A. Singh, and M. Sharma, “Usability evaluation methods for mobile legal guidance systems,” International Journal of Human-Computer Interaction, vol. 37, no. 6, pp. 512–525, 2023. A. Gupta, R. Choudhury, and P. Kumar, “Accessibility and inclusive design considerations for legal tech apps,” Journal of Accessible Computing, vol. 8, no. 4, pp. 102–114, 2022